package com.example.manager.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.example.manager.entity.CourseSelection;
import com.example.manager.entity.CourseTeaching;
import com.example.manager.entity.Student;

public interface CourseSelectionRepository extends JpaRepository<CourseSelection, Integer> {
	
	public List<CourseSelection> getByStudent(Student student);
	
	public List<CourseSelection> getByCourseTeaching(CourseTeaching courseTeaching);
	
}
